package ewms.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ewms.bo.EwmsIncinerateHandleQueryBo;
import ewms.domain.EwmsIncinerateHandle;
import ewms.vo.EwmsIncinerateHandleVo;
import ewms.common.core.mybatisplus.MybatisPlusRedisCache;
import ewms.common.core.page.BaseMapperPlus;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 焚化处置Mapper接口
 *
 * @author zhaoxiaochun
 * @date 2022-02-17
 */
@CacheNamespace(implementation = MybatisPlusRedisCache.class, eviction = MybatisPlusRedisCache.class)
public interface EwmsIncinerateHandleMapper extends BaseMapperPlus<EwmsIncinerateHandle> {

	/**
	 * 查询危废焚化列表
	 *
	 * @param page                    分页信息
	 * @param incinerateHandleQueryBo
	 * @return
	 */
	Page<EwmsIncinerateHandleVo> selectPageIncinerateHandleList(@Param("page") Page<EwmsIncinerateHandleVo> page, @Param("incinerateHandle") EwmsIncinerateHandleQueryBo incinerateHandleQueryBo);

	/**
	 * 查询危废焚化列表
	 *
	 * @param incinerateHandleQueryBo
	 * @return
	 */
	List<EwmsIncinerateHandleVo> selectIncinerateHandleList(EwmsIncinerateHandleQueryBo incinerateHandleQueryBo);
}
